<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>HorSite</title>
        <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
        <link rel="stylesheet" href="stylesheets/nyroModal.css" type="text/css" media="screen" />
        <script type="text/javascript" src="javascripts/jquery-1.3.2.min.js">
        </script>
        <script type="text/javascript" src="javascripts/jquery.nyroModal-1.5.0.pack.js">
        </script>
        <style>
            .margen {
                margin-left: 50px;
                background-color: transparent;
            }
        </style>
    </head>
    <body>
        <div id="page2">
            <div id="content">
                <div class="post2">
                    <h2>Nuevo Usuario</h2>
                    <% form_for(@pendinguser, :url =>{ :controller=> 'pendingusers',:action=>'create'}) do |f| %>
                    <%= f.error_messages %>
                    <br/>
                    <div class="margen">
                        <table width='520' border='3px' cellpadding='0' cellspacing='0' bordercolor='#d1ccc7'>
                            <tr>
                                <td>
                                    <div class="margen">
                                        <p>
                                            <%= f.label 'E-mail' %>
                                            <br/>
                                            <%= f.text_field :email %>
                                        </p>
                                        <p>
                                            <%= f.label 'Nombre' %>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;<%= f.label 'Apellido' %>
                                            <br/>
                                            <%= f.text_field :first_name %>
                                            <%= f.text_field :last_name %>
                                        </p>
                                        <p>
                                            <%= f.label 'Pais' %>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= f.label 'Estado/Provincia' %>
                                            <br/>
                                            <%= f.text_field :country %>
                                            <%= f.text_field :state %>
                                            <br/>
                                        </p>
                                        <p>
                                            <%= f.label 'Ciudad' %>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= f.label 'Compañia' %>
                                            <br/>
                                            <%= f.text_field :city %>
                                            <%= f.text_field :company %>
                                            <br/>
                                        </p>
                                        <p>
                                            <%= f.label 'Clave' %>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= f.label 'Confirmacion de Clave' %>
                                            <br/>
                                            <input id="password" name="pendinguser[password]" type="password" size='30px' />&nbsp;<input type="password" id="password_confirmation" name="pendinguser[password_confirmation]" size='30px' />
                                            <br/>
                                        </p>
                                        <p>
                                            <span style="FLOAT: left"><%= f.submit 'Crear' %>
                                            </span>
                                        </p>
                                        <% end %>
                                        <input id="cancelar" class="nyroModalClose" name="cancel" type="button" value="Cancelar" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>